# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=antiransom
pkgver=5
pkgrel=1
pkgdesc='A tool capable of detect and stop attacks of Ransomware using honeypots.'
url='http://www.security-projects.com/?Anti_Ransom___Download'
groups=('blackarch' 'blackarch-windows' 'blackarch-defensive'
        'blackarch-honeypot')
license=('custom:unknown')
arch=('any')
source=("https://github.com/YJesus/AntiRansom/releases/download/V$pkgver/AR$pkgver.zip")
sha512sums=('69d3432ae96498c7fe7380f0a1c6ffa1429a59b1076b6c29cdd3911f8cb568f48f22b598cec2d93df3d2d6e50b9896e7e1a77930a6d50a4d6a16c768d8fa1c8f')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "AR$pkgver.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

